<form action="index.php?location=dodaj_rozwiazanie" method="post" ">


<table>
<tr>
	<td>Nazwa problemu:&nbsp;&nbsp;</td>	
	<td>
<select name="problem_id"" style="width: 300px">
      <?php
      		$problemID_list = get_all_problemID();
      		
      		foreach ($problemID_list as $problemID){
      			echo '<option value="'.$problemID.'">'.get_problem_name($problemID).'</option>'; 
     		}
      ?>
</select>
	</td>
</tr>
</table>

<br/>
Kod programu:<br><textarea name="code" cols="46" rows="15"> Tu wklej kod programu </textarea> <br>

<input align="right" type="submit" value="Wyślij"/>
</form>
